package com.xyz.domain.constants;

import java.util.ArrayList;
import java.util.List;

public class ConstantsLotteryCode {

    //  抽奖 话费
    public static final String LOTTERY_ROU_HUAFEI="LOT0100001";

    //  抽奖 点卡
    public static final String LOTTERY_ROU_ICON = "LOT0100002";

    // 娱乐大厅 急速28
    public static final String LOTTERY_GAME_JISU28 = "LOT0200001";

    // 娱乐大厅 QQ28
    public static final String LOTTERY_GAME_QQ28 = "LOT0200002";

    // 娱乐大厅 幸运28
    public static final String LOTTERY_GAME_LUCKY28 = "LOT0200003";

    // 娱乐大厅 幸运16
    public static final String LOTTERY_GAME_HAPPY16 = "LOT0200004";

    // 娱乐大厅 幸运10
    public static final String LOTTERY_GAME_HAPPY10 = "LOT0200005";

    public static final List<String> LOTTERYCODES = new ArrayList<>();

    static {
        LOTTERYCODES.add(LOTTERY_ROU_HUAFEI);
        LOTTERYCODES.add(LOTTERY_ROU_ICON);
        LOTTERYCODES.add(LOTTERY_GAME_JISU28);
        LOTTERYCODES.add(LOTTERY_GAME_QQ28);
        LOTTERYCODES.add(LOTTERY_GAME_LUCKY28);
        LOTTERYCODES.add(LOTTERY_GAME_HAPPY16);
        LOTTERYCODES.add(LOTTERY_GAME_HAPPY10);
    }

    public static boolean contains(String code){
        return LOTTERYCODES.contains(code);
    }

}
